package com.tengju.bff.interfaces.covercharge.mapper;

import com.tengju.bff.interfaces.covercharge.dto.BankInfo;
import com.tengju.bff.interfaces.covercharge.entity.po.ServiceBank;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 银行账户表 Mapper 接口
 * </p>
 *
 * @author zhaoyi
 * @since 2020-02-24
 */
@Repository
public interface ServiceBankMapper extends BaseMapper<ServiceBank> {

    BankInfo queryBankInfo(@Param("idCode") Integer idCode, @Param("accountId") Integer accountId, @Param("platformCode") String platformCode);

    void updateStatusToUnlink(@Param("idCode") Integer idCode,  @Param("platformCode") String platformCode);
}
